package com.zbkj.common.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 柯南
 * @version JDK 8
 * @className UserPageRemainDateRequest (此处以class为例)
 * @date 2025/4/28
 * @description TODO
 */
@Data
public class UserPageRemainDateRequest {

    @ApiModelProperty(value = "页面类型()")
    @NotNull(message = "页面类型不能为空")
    private Integer pageType;

    @ApiModelProperty(value = "页面类型名称")
    @NotBlank(message = "页面类型名称不能为空")
    private String pageTypeName;

    @ApiModelProperty(value = "停留时长(单位:秒)")
    @NotNull(message = "停留时长不能为空")
    private Integer remainDate;
}
